<iframe src="http://localhost:8080/hash/c.html#name1"></iframe>
<script>
    console.log(location.hash)
    window.onhashchange = function () {
        console.log(location.hash);
    }
</script>